﻿<!DOCTYPE html>
<html>
  <head>
    <title>流动人口信息详情</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <link href="resources/resources/css/jquery-ui-themes.css" type="text/css" rel="stylesheet"/>
    <link href="resources/resources/css/axure_rp_page.css" type="text/css" rel="stylesheet"/>
    <link href="resources/data/styles.css" type="text/css" rel="stylesheet"/>
    <link href="resources/files/流动人口信息详情/styles.css" type="text/css" rel="stylesheet"/>
    <script src="resources/resources/scripts/jquery-1.7.1.min.js"></script>
    <script src="resources/resources/scripts/jquery-ui-1.8.10.custom.min.js"></script>
    <script src="resources/resources/scripts/prototypePre.js"></script>
    <script src="resources/data/document.js"></script>
    <script src="resources/resources/scripts/prototypePost.js"></script>
    <script src="resources/files/流动人口信息详情/data.js"></script>
    <!--配偶信息-->
    <link href="resources/files/配偶信息/styles.css" type="text/css" rel="stylesheet"/>
    <style>
      /*计生*/
      #qqq{
        position: absolute;
        left: 120px;
        top: 1355px;
      }
      /*个人信息*/
      #www{
        position: absolute;
        left: 120px;
        top: -120px;
      }
      /*配偶*/
      #eee{
        position: absolute;
        left: 130px;
        top: 800px;
      }
      /*就业*/
      #rrr{
        position: absolute;
        left: 130px;
        top: 1740px;
      }
      /*居住*/
      #ddd{
        position: absolute;
        left: 130px;
        top: 2550px;
      }
      /*同住*/
      #aaa{
              position: absolute;
              left: 130px;
              top: 1210px;
            }
    </style>
    <script>
        var id = "";
        var employmentMessageId = "";
        var dwellMessageId = "";
        var planingId = "";
        var spouse = "";
        var provinceCode = "";
      $(function () {
          id = location.href.split("personalId=")[1];
          $.ajax({
            url:"/findPersonalMessageById",
            data:{id:id},
            dataType:"json",
            type:"post",
            async:false,
            success:function(data) {
              employmentMessageId = data.employmentMessageId;
              dwellMessageId = data.dwellMessageId;
              planingId = data.familyPlanningId;
              spouse = data.spouse;
              provinceCode = data.nowInProvince;
              $("#www").attr("src","/toPersonalInformation?id="+id);
              if(dwellMessageId==undefined){
                  $("#ddd").attr("src","/toDwellMessage?personalId="+id+"&provinceCode="+provinceCode)
              }else {
                  $("#ddd").attr("src","/toDwellMessage?personalId="+id+"&provinceCode="+provinceCode+"&dwellMessageId="+dwellMessageId)
              }
              if(planingId==undefined){
                $("#qqq").attr("src","/toFamilyPlanning?personalId="+id+"&provinceCode="+provinceCode)
              }else {
                $("#qqq").attr("src","/toFamilyPlanning?personalId="+id+"&provinceCode="+provinceCode+"&planingId="+planingId)
              }
              if(employmentMessageId==undefined){
                $("#rrr").attr("src","/toEmploymentInformation?personalId="+id+"&provinceCode="+provinceCode)
              }else {
                $("#rrr").attr("src","/toEmploymentInformation?personalId="+id+"&provinceCode="+provinceCode+"&employmentMessageId="+employmentMessageId)
              }
              $("#personalInformation").attr("src","/toFamilyMember?personalId="+id);
              if(spouse==undefined){
                $("#eee").attr("src","/toSpouse?personalId="+id);
              }else {
                $("#eee").attr("src","/toSpouse?personalId="+id+"&spouse="+spouse);
              }
              $("#aaa").attr("src","/toFamilyMember?personalId="+id);
            }
          })

          $("#qqq").contents().find("#u425").css()
      })
      function aaa() {

          /*计生*/
          $("#qqq").contents().find("#u425").css("display","none");
          $("#qqq").contents().find("#u480").css("display","none");
          $("#qqq").contents().find("#u441").css("display","none");

          /*个人信息*/
          $("#www").contents().find("#yin").css("display","none");
          /*配偶*/
          $("#eee").contents().find("#yin").css("display","none");
          /*就业*/
          $("#rrr").contents().find("#yin").css("display","none");
          /*居住*/
          $("#ddd").contents().find("#yin").css("display","none");
          /*同住*/
          $("#aaa").contents().find("#yin").css("display","none");
      }
    </script>
  </head>
  <body onload="aaa()">
  <!--居住-->
  <iframe height="720" width="2000" frameborder="0" scrolling="no" id="ddd">

  </iframe>
  <!--就业-->
  <iframe height="960" width="2000" frameborder="0" scrolling="no" id="rrr">

  </iframe>

  <!--计生-->
  <iframe height="580" width="2000" frameborder="0" scrolling="no" id="qqq">

  </iframe>
  <!--同住家庭成员-->
      <iframe height="360" width="2000" frameborder="0" scrolling="no" id="aaa">

      </iframe>
  <!--配偶-->
  <iframe height="585" width="2000" frameborder="0" scrolling="no" id="eee" >

  </iframe>
  <!--个人信息-->
  <iframe height="1130" width="2000" frameborder="0" scrolling="no" id="www" >

  </iframe>

  <!-- Unnamed (矩形) -->
  <div id="u1640" class="ax_default box_1">
    <div id="u1640_div" class=""></div>
    <div id="u1640_text" class="text ">
      <p><span>个人信息</span></p>
    </div>
  </div>
  <!-- Unnamed (矩形) -->
  <div id="u1968" class="ax_default box_1">
    <div id="u1968_div" class=""></div>
    <div id="u1968_text" class="text ">
      <p><span>流动人口信息详情</span></p>
    </div>
  </div>
  <!-- Unnamed (矩形) -->
  <div id="u1693" class="ax_default box_1">
    <div id="u1693_div" class=""></div>
    <div id="u1693_text" class="text ">
      <p><span>配偶信息</span></p>
    </div>
  </div>
  <!-- Unnamed (矩形) -->
  <div id="u1746" class="ax_default box_1">
    <div id="u1746_div" class=""></div>
    <div id="u1746_text" class="text ">
      <p><span>同住家庭成员</span></p>
    </div>
  </div>
  <!-- Unnamed (矩形) -->
  <div id="u1798" class="ax_default box_1">
    <div id="u1798_div" class=""></div>
    <div id="u1798_text" class="text ">
      <p><span>计生信息</span></p>
    </div>
  </div>

  <!-- Unnamed (矩形) -->
  <div id="u1879" class="ax_default box_1">
    <div id="u1879_div" class=""></div>
    <div id="u1879_text" class="text ">
      <p><span>就业信息</span></p>
    </div>
  </div>

  <!-- Unnamed (矩形) -->
  <div id="u1967" class="ax_default box_1">
    <div id="u1967_div" class=""></div>
    <div id="u1967_text" class="text ">
      <p><span>居住信息</span></p>
    </div>
  </div>
  </body>
</html>
